import request from '@/util/request'
var path = "/didi/user"
export default {

    captcha() {
        return request({
            url: `${path}/captcha`,
            method: "get",
        })  
    },

    zc(data){
        return request({
            url: `${path}/save`,
            method: "post",
            data
        })
    },

    login(data){
        return request({
            url: `${path}/login`,
            method: "post",
            data
        })
    },

    info(urId){
        return request({
            url: `${path}/info/${urId}`,
            method: "get",
        })
    },

    updata(data){
        return request({
            url:`${path}/update`,
            method:"post",
            data
        })
    },
    password(data){
        return request({
            url: `${path}/password`,
            method: "post",
            data
        })
    }

}